﻿//<![CDATA[
$(document).ready(function() {

    //remove the delete option in the menu of a gadget
    var gadgets = $(document.documentElement); gadgets.bind("epigadgetloaded", function(e, gadget) {

        $('.epi-contextMenu ul:last').remove();

        var t = $('.epi-contextMenu ul').size();

        if (t == 0) {
            $('.epi-gadgetHeader').remove();
        }
    });

    $('.epi-contentGadgetLoader').text("");

    //]]>
});